<template>
  <a-config-provider :locale="locale">
    <router-view />
  </a-config-provider>
</template>

<script setup>
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import { useStore } from 'vuex';
import { enquireScreen } from './utils/util';
dayjs.locale('zh-cn');
let locale = zhCN

const store = useStore()
enquireScreen(e=>store.commit('setting/setDevice', e))

</script>

<style lang="less">
@import './layouts/global.less';
</style>
